from base_fun import get_git_base_url, host_url
from projects import get_gitlab_projects
from token_fun import get_git_token

base_url = get_git_base_url(host_url)
print(f"Base URL: {base_url}")
token = get_git_token(host_url)
print(f"Token: {token}")
projects = get_gitlab_projects(token, base_url, search="BeltBreakDetection.XRay")
print(f"Projects found: {projects[0].get_name() if projects else 'None'}")
